using System;

namespace SBPweb.Contracts.StateManagement
{
	public class ModeUnavailableException : Exception
	{
		private Mode pMode;

		public ModeUnavailableException(string message, Mode mode)
			: base(message)
		{
			pMode = mode;
		}

		public Mode Mode
		{
			get
			{
				return pMode;
			}
		}

	}
}
